package cn.net.yugu.doraemon.springweb.health;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wanghongli
 * @date 2023/7/18 13:15
 * @description HealthCheckController
 **/
@RestController
public class HealthCheckController {
    @RequestMapping(path = "/health", method = RequestMethod.GET)
    public String health() {
        return "ok";
    }
}
